import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import * as echarts from 'echarts';
import htmlToExcel from "./utils/Excel";
import './assets/css/scrollbar.css';
import axios from "axios";
import VueAxios from "vue-axios";
import '@/filter/index.js'
axios.defaults.withCredentials = true;

Vue.use(VueAxios, axios);



Vue.prototype.Excels = htmlToExcel;
Vue.config.productionTip = false
Vue.use(ElementUI);
// Vue.prototype.$echarts = echarts
Vue.prototype.$echarts = echarts

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')